/*
 * cFontManagerTTF.h
 *
 *  Created on: 24.04.2012
 *      Author: e_krais
 */

#ifndef CFONTMANAGERTTF_H_
#define CFONTMANAGERTTF_H_

#include "../strator_inner.h"
#include <SDL/SDL_ttf.h>

namespace strator {

enum eFontQuality {
	FontQuality_Solid, FontQuality_Shaded, FontQuality_Blended
};

//class cFontManager: public cManager {
class cFontManager{
public:
	friend class cEngine;
	cFontManager();
	~cFontManager();

	TTF_Font* LoadFont(const char* filename, int ptsize);
	SDL_Surface* CreateSurface(TTF_Font *font, const char* text,
			eFontQuality quality);
	SDL_Surface* CreateSurface(const char* filename, int ptsize,
			const char* text, eFontQuality quality);

private:
	void Initialize();
	void Dispose();
};

}

#endif /* CFONTMANAGERTTF_H_ */
